#ifndef QMESSAGEOPT_H
#define QMESSAGEOPT_H

#include <QObject>
#include <QJsonObject>
#include <QJsonValue>
#include <QJsonArray>
#include <QJsonDocument>

class QMessageOpt : public QObject
{
    Q_OBJECT
public:
    explicit QMessageOpt(QObject *parent = nullptr);

    void AddUserContent(const QString& sContent);
    void AddAssistantContent(const QString& sContent);
    QByteArray& GetJsonStr();
protected:
    QJsonArray m_messageArray;
    QByteArray m_byteMessage;
signals:

};

#endif // QMESSAGEOPT_H
